package com.zyh.homework.test3.domain;

public class Coder extends Person{

    public Coder(String name, String id, int salary) {
        super(name, id, salary);
    }

    @Override
    public void work() {
        System.out.println("工号为"+getId()+"基本工资为"+getSalary()+"的程序员正在努力的写着代码...");
    }
}
